package com.woniu.car.parameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Description:
 * date: 2021/6/29 15:27
 *
 * @author zhoubinbin
 * @since
 */
@Data
@ApiModel("新增购物车参数对象")
public class AddCartsParam {
    @NotNull(message = "商品id不能为空")
    @ApiModelProperty("商品id")
    private Integer pioId;


    @NotNull(message = "商品数量不能为空")
    @ApiModelProperty("商品数量")
    private Integer quantity;
}
